import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
import {
	locale,
	lang,
	i18n
} from "@/common/locales/index.js";
const store = new Vuex.Store({
	state: {},
	getters: {
		tabList() {
			return [{
					index: 0,
					name: i18n.tc('tabbar.home'),
					img: '/static/tabBar/home.png',
					acImg: '/static/tabBar/home-active.png',
					path: '/pages/index/index'
				},
				{
					index: 1,
					name: i18n.tc('tabbar.nodal'),
					img: '/static/tabBar/node.png',
					acImg: '/static/tabBar/node-active.png',
					path: '/pages/vnode/vnode'
				},
				{
					index: 2,
					name: '收益',
					img: '/static/tabBar/income.png',
					acImg: '/static/tabBar/income-active.png',
					path: '/pages/profit/profit'
				},
				{
					index: 3,
					name: i18n.tc('tabbar.user'),
					img: '/static/tabBar/user.png',
					acImg: '/static/tabBar/user-active.png',
					path: '/pages/user/user'
				}
			]
		}
	},
	mutations: {},
	actions: {}
});
export default store;